from django.conf.urls.defaults import *

urlpatterns = patterns(
    'album',
    (r'^s?/?$', 'views.home'),
    (r'^/create', 'views.create'),
    (r'^/(\d+)/?$', 'views.detail'),
    (r'^/(\d+)/edit', 'views.edit'),
    (r'^/(\d+)/upload', 'views.upload'),
    (r'^/(\d+)/delete', 'views.delete'),
    (r'^/(\d+)/export', 'views.export'),
    (r'^/(\d{4})/(\d{1,2})/(\d{1,2})/(.*)', 'views.slug')
    )
